package com.example.sdemo.app.service;

import com.example.sdemo.domain.entity.Course;
import com.example.sdemo.domain.entity.Teacher;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CourseService {
    Course selectCById(Integer id);
    Boolean insertC(Course course);
    Boolean deleteC(Integer id);
    Boolean updateC(Course course);

    List<Course> selectAll();
}
